package com.lanou3g.k12.mapper;

import com.lanou3g.k12.entity.CouponCode;
import org.apache.ibatis.annotations.Param;


import java.util.ArrayList;
import java.util.List;

public interface CouponCodeMapper {

    void add(@Param("couponCodes") ArrayList<CouponCode> couponCodes);

    void updateByCpId(Long cpid);

    List<CouponCode> searchCode();

    void updateCode(@Param("cpId")Long cpId,
                    @Param("list")List<Long> list);
}
